QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

TARGET = MyTool
VERSION = 2.0.0

TEMPLATE = subdirs
SUBDIRS += \
    MainProject \
    Common \
    MyShortcut \
    CopyFile \
    TranslateResource \
    Bridge

DEFINES += QT_DEPRECATED_WARNINGS

MyShortcut.depends = Common
CopyFile.depends = Common Bridge
TranslateResource.depends = Common

MainProject.depends = MyShortcut CopyFile TranslateResource

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
